package checkpoint;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;

public class MultipleStartButton extends JButton implements ActionListener{

	private Model guiModel;
	private String nameFile;
	
	private static final long serialVersionUID = 1L;
	MultipleStartButton(checkpoint.Model model, String nameFile){
		super("Multiple Start Time");
		addActionListener(this);
		this.guiModel = model;
		this.nameFile = nameFile;
	}
	public void actionPerformed (ActionEvent e){
		new MultipleStartFrame(guiModel, nameFile);
	}


}